package com.ftg.mall.base.entity.pms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.mall.base.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 产品分类
 * </p>
 *
 * @author wangty
 * @since 2022-11-15
 */
@TableName("pms_product_category")
@Data
@ApiModel(value = "ProductCategory对象", description = "产品分类")
public class ProductCategory extends BaseEntity {


    @ApiModelProperty("上机分类的编号：0表示一级分类")
    private Long parentId;

    private String name;

    @ApiModelProperty("分类级别：0->1级；1->2级")
    private Integer level;

    private Integer productCount;

    private String productUnit;

    @ApiModelProperty("是否显示在导航栏：0->不显示；1->显示")
    private Integer navStatus;

    @ApiModelProperty("显示状态：0->不显示；1->显示")
    private Integer showStatus;

    private Integer sort;

    @ApiModelProperty("图标")
    private String icon;

    private String keywords;

    @ApiModelProperty("描述")
    private String description;

}
